import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import api from './api'
import './permission'
Vue.prototype.$api = api;
import './plugins/element.js'
import "normalize.css"
import '@/assets/css/base.css'
//注册全局组件
import JsonExcel from 'vue-json-excel'
Vue.component('downloadExcel',JsonExcel)
//面包屑
import Breadcrumb from './components/Breadcrumb/Breadcrumb.vue'
Vue.component('Breadcrumb',Breadcrumb)

//i18国际环境
import i18n from './lang'
Vue.config.productionTip = false
new Vue({
  router,
  store,
  i18n,
  render: h => h(App)
}).$mount('#app')
